package edu.sctu.practice.class02.shilaihong.text.text03;

/**
 * Created by admin on 2015/10/12.
 */
public class MyTimeMain {
    public static void main(String[] args) {
        MyTime myTime = new MyTime(12, 32, 54);
        myTime.addHour(1);
        myTime.addMinute(23);
        myTime.addSecond(4);
        myTime.display();

        myTime.subHour(1);
        myTime.subMinute(27);
        myTime.subSecond(43);
        myTime.display();
    }
}
